# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-cap32
pkgver=0_git20220419
pkgrel=0
_commit="20adc49260677f7e99325f1ce14caabc1878e1be"
pkgdesc="caprice32 emulator for libretro"
url="https://github.com/libretro/libretro-cap32"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-cap32/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-cap32-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 cap32_libretro.so "$pkgdir"/usr/lib/libretro/cap32_libretro.so
}

sha512sums="
89a168409d6483b370b69cc2c6702999101820a402bcd4d00f098c2eb0b9f724c9bcfe28eec9e31a0e417092c16ba9be6c6091aadd6ddf420b9bc2e018b88065  libretro-cap32-20adc49260677f7e99325f1ce14caabc1878e1be.tar.gz
"
